package com.etoak.service;

import com.etoak.entity.User;
import org.springframework.web.bind.annotation.RequestBody;

public interface UserService {

    /**
     * 查询用户信息
     *
     * @param id
     * @return
     */
    User getUser(int id);


    boolean addVisit(@RequestBody User user);
}
